﻿namespace Server
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Runtime.Serialization;

        /// <summary>
        /// Parameters of the order's filter
        /// </summary>
        [Serializable]
        public enum OrderFilter
        {
            /// <summary>
            /// Customer
            /// </summary>
            [EnumMember]
            Customer = 1,

            /// <summary>
            /// Executor
            /// </summary>
            [EnumMember]
            Executor = 2,

            /// <summary>
            /// Place
            /// </summary>
            [EnumMember]
            Place = 3,

            /// <summary>
            /// Price maximum
            /// </summary>
            [EnumMember]
            PriceMax = 4,

            /// <summary>
            /// Price minimum
            /// </summary>
            [EnumMember]
            PriceMin = 5,

            /// <summary>
            /// Date of creation
            /// </summary>
            [EnumMember]
            Date = 6
        }
    }
